package com.familytree.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;

@Data
@TableName("relationships")
public class Relationship {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long memberId;
    
    private Long relatedMemberId;
    
    private String relationshipType;
    
    private LocalDate marriageDate;
    
    private LocalDate createDate;
    
    private LocalDate updateDate;
} 
 